package com.chl.jdk8.stream;

public class Persion {
	private int age;
	private int gender;
	private String name;

	public Persion(int age, int gender, String name) {
		this.age = age;
		this.gender = gender;
		this.name = name;
	}

	public Persion() {
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public int getGender() {
		return gender;
	}

	public void setGender(int gender) {
		this.gender = gender;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "People{" + "age=" + age + ", gender=" + gender + ", name='" + name + '\'' + '}';
	}
}
